<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>光影图书馆-注册账号</title>
	<link rel="stylesheet" href="/css/register.css">
	<script src="/js/register.js"></script>
	<script src="/js/jquery.min.js"></script>
</head>
<body>
	<div class="root">
		<img src="/img/logo-reg.png" class="no-select" id="logo" alt="光影图书馆">
		<form id="reg" action="/api/v1/user/register" method="post" enctype=" multipart/form-data">
			<input type="text" id="email" name="email" class="input-text" spellcheck="false" autocomplete="off" placeholder="请输入邮箱"/><br/>
			<input type="text" id="phone" name="phone" class="input-text" spellcheck="false" autocomplete="off" placeholder="请输入手机号"/><br/>
			<input type="text" id="nickname" name="nickname" class="input-text" spellcheck="false" autocomplete="off" placeholder="昵称"/><br/>
			<a href="javascript:;" class="file">选择头像
				<input type="file" name="avatar" id="avatar"/>
			</a><br/>
			<select class="input-select" name="sex" id="sex">
				<option value="0">男</option>
				<option value="1" selected>女</option>
			</select>
			<input type="password" id="password" name="password" class="input-text" spellcheck="false" autocomplete="off" placeholder="请输入密码"/><br/>
			<input type="password" id="confim" name="confim" class="input-text" spellcheck="false" autocomplete="off" placeholder="请确认密码"/><br/>
			<div id="mini_tips"></div>
			<input type="button" class="search-btn" onclick="reg()" value="立即注册"/>
		</form>
	</div>
</body>
</html>